package com.koron.sinoprobe.web.subpackage.bean;

import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("分包明细")
public class SubPackageDetail extends BaseBean {

    public static final String PREFIX = "FBMX";

    @ApiModelProperty("施工分包id")
    private String packageId;

    @ApiModelProperty(value = "清单项编号")
    private String code; // 清单项编号

    @ApiModelProperty(value = "分包工作名称")
    private String title; // 分包工作名称

    @ApiModelProperty(value = "单位")
    private String unit; // 单位

    @ApiModelProperty(value = "合同工程量")
    private String contractQuantity; // 合同工程量

    @ApiModelProperty(value = "合同单价(元)")
    private BigDecimal unitPrice; // 合同单价(元)

    @ApiModelProperty(value = "合同金额(元)")
    private BigDecimal contractAmount; // 合同金额(元)

    @ApiModelProperty(value = "分包工程量")
    private String subcontractQuantity; // 分包工程量

    @ApiModelProperty(value = "分包工作金额(元)")
    private BigDecimal subcontractAmount; // 分包工作金额(元)

    @ApiModelProperty(value = "分包金额/合同金额(%)")
    private float subcontractPercentage; // 分包金额/合同金额(%)
    
}